import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
	plugins: [uni()],
	resolve: {
		alias: {
			'@': path.resolve(__dirname, '/src')
		}
	}
	,
	css: {
		preprocessorOptions: {
			scss: {
				// quietDeps: true, // 可以尝试，但在高版本中似乎不起作用
				silenceDeprecations: ['legacy-js-api'],
			}
		}
	}

});